import  http from './request.js'
const {request, uploadFile} = http

// 生成订单号
export function carOrder(data) {
    return request({
      url: 'mini/car-order',
      method: "POST",
      data: data.data
    })
  }

//订单号生成支付验签
export function wechatPay(data) {
  return request({
    url: 'mini/car-order/wechat-pay',
    method: "POST",
    data: data.data
  })
}